import cv2
import numpy as np

img=cv2.imread(r'./CV-Pictures/008.jpg')
new_img=np.zeros(img.shape,np.uint8)
cv2.circle(new_img,(300,300),120,(25,25,255),-1)
# img2=cv2.imread(r'./CV-Pictures/021.jpg')
# img2=cv2.resize(img2,img1.shape[:2])
# img2=cv2.resize(img2,dsize=None,fx=1.5,fy=2)
# img3=img1-img2
# img4=cv2.subtract(img1,img2)
# print(img2.shape)
# hsv=cv2.cvtColor(img,cv2.COLOR_BGR2HSV)
# b,g,r=cv2.split(img)
# cv2.imshow('img1',img1)
# cv2.imshow('img2',img2)
# and_img=cv2.bitwise_and(img,new_img)
or_img=cv2.bitwise_or(img,new_img)
cv2.imshow('img',img)
cv2.imshow('河南理工g',new_img)
cv2.imshow('and_img',or_img)
# cv2.imshow('img4',img4)
# cv2.imshow('blue',b)
# cv2.imshow('green',g)
# cv2.imshow('red',r)
# img_merge=cv2.merge([b,r,b])
# print(img.shape)
# cv2.imshow('new_merge',img_merge)
cv2.waitKey()
cv2.destroyAllWindows()